home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Communication / FreePPP 1.0.2 / MacPPP 2.1.2SD - Read Me 2nd < prev    next >
Text File  |  1995-08-05  |  21KB  |  217 lines

  1.                                                                             MacPPP 2.1.2SD Read Me
  2.  
  3. What is it?
  4.  
  5. This a modified version of Merit's MacPPP Link Access Protocol module. In plain English, it allows you to establish a dial-up PPP connection with a TCP/IP network like the Internet. It differs from the official Merit MacPPP 2.0.1 release in that it provides the following additional features:
  6.  
  7. Ñ Supports DTE rates of 115Kbps and 230Kbps on Macs w/GeoPort serial architecture.
  8.    This can be useful for folks with 28.8 modems or serial ISDN Terminal Adapters.
  9. Ñ Compatible with Apple's new Open Transport TCP/IP replacement for MacTCP.
  10.    See below for OT configuration instructions.
  11. Ñ Compatible with PSI's implementation of ISDN PPP service courtesy of John Stephen.
  12. Ñ Timing change for modems that can't respond to commands quickly. Also by John Stephen.
  13. Ñ Displays modem connect info in MacPPP Status dialog courtesy of Steve Brecher.
  14. Ñ Fixes problem with Config PPP not being able to access it's prefs file if the Finder
  15.    closed the control panel on a low memory error. Code contributed by Alec Carlson.
  16. Ñ Terminal window is larger and scrolling of text off the top is a little cleaner.
  17.    Code contributed by Tom Evans.
  18. Ñ Fixes problem with older terminal servers and header compression requests.
  19.    Also by Tom Evans.
  20. Ñ Now holds RTS for a full second after sending the modem a hang up command to solve a
  21.    problem with USR Mac&Fax modems getting confused because they couldn't tell the Mac
  22.    they had hung up. Code contributed by Tim Steele.
  23. Ñ Finally fixed problem with waking up Supra and PSI PowerBook internal modems before
  24.    dialing.
  25.  
  26. This in not an official Merit release of MacPPP.  The folks at Merit wrote it, I just released a modified version. The funny version number is supposed to indicate new features and has my initials appended to differentiate it from anybody else's modified MacPPP. In retrospect I probably shouldn't have changed the number from 2.0.1 but the damage was done with the 2.1SD release. I'm trying to get out of the SD labeled release business (as you can see from the feature list above this version had a few additional chefs) and am working with a group to create an enhanced/expanded offshoot of MacPPP. The tentative title for this effort is 'FreePPP'. I don't have an availibility time frame or a full feature list but expect things like CHAP support (required for MCI PPP compatability) and a completely re-designed interface for setting the configuration.
  27.  
  28. Note - As with most extensions/control panels you must re-boot your Mac after installing MacPPP 2.1.2SD - especially if you already have MacPPP (or one of it's derivatives) installed. Failing to do so will probably result in a crash.
  29.  
  30. ÑUsing MacPPP 2.1.2SD with Open TransportÑ
  31.  
  32. Warning: It's possible that Open Transport 1.0 will crash while MacPPP is automatically opening a connection. The OT 1.0.1 update which fixes this problem is now available on Apple's software updates ftp site.  Here's the URL (watch out for the line break in the middle):
  33.  
  34. <ftp://ftp.support.apple.com//pub/apple_sw_updates/US/mac/n_c/other_n_c_sw/
  35. Open_Transport_1.0.1_patch.hqx>
  36.  
  37. Here are some guidelines for configuring Open Transport to use MacPPP 2.1.2SD. The settings discussed below are found in OT's TCP/IP Control Panel:
  38.  
  39. 1) Select Connect via MacPPP.
  40. 2) Select Manually from the Configure menu.
  41. 3) Leave the IP Address field blank (see note below for additional info).
  42. 4) Fill in the Domain name field with the root name of your domain (i.e. mycompany.com or myschool.edu).
  43. 5) Leave the Subnet mask field blank unless you require a special mask.  See below for an example of when this is necessary.
  44. 6) Fill in the Router address and Name Server address fields with the dot addresses (i.e. 128.1.1.1) of the respective machines on your Internet service provider's network. The Router address might or might not be the same as the Gateway address under MacTCP. See below for details.
  45.  
  46. Important Note on Subnet masks and Router Addresses: A lot of folks have been having problems with Open Transport not being able to find the Domain Name Server with a PPP connection. This is because Open Transport apparently enforces the subnet mask when sending packets since it is the 'right thing' to do. This causes a problem if your provider has a Class C network (i.e. the first number of their IP addresses are >= 192) with different subnets for their primary router/DNS and the IP address you are assigned on dialup. Since the router is the gateway to the Internet, OT sends packets to it for their first hop on the way to their destination. When the primary router isn't on the same subnet as the Mac you get a bogus address for the router when the netmask is applied and nothing works. MacTCP was apparently more lenient in this regard. There are basically three solutions to this problem if it affects you:
  47.  
  48. 1) Use the address of the router that's routing the terminal server you are connected to, not the primary/gateway router. Make this clear to your service provider when you ask for the router address. 
  49.  
  50. 2) The usual netmask for a Class C address is 255.255.255.0. If you can't get the address of a router on the same subnet (or it doesn't appear to work) try entering a netmask of 255.255.0.0. This gives OT more leeway when trying to find the router. It also assumes that the IP address you are assigned and the router address match in the first 2 fields (i.e. 192.1.x.x). If this isn't the case for your setup you may have to try 255.0.0.0 or even 0.0.0.0.
  51.  
  52. 3) This is a solution of last resort so only try it if 1 & 2 don't work for you. If you hit the Stats╔ button in the Config PPP control panel you can find the IP address of the terminal server you are connected to (it's the Remote address shown in the Stats window). Fill in the Router address with this number. The downside to this is that you might not always dial into the same terminal server and will have to change the Router address each time you dial in and get a different terminal server. 
  53.  
  54. Note on IP Address: Normally the IP address of your machine is assigned during the PPP connection establishment phase and MacPPP extracts this info and makes it available to Open Transport. If your PPP server doesn't provide this information as part of the establishment phase (possible if you have a static IP address) you may have to manually configure MacPPP for your local IP address. This is done using the IPCP Options dialog when configuring a PPP server in the Config PPP control panel. Turn off the Want and Will checkboxes for the Local IP address box and fill in your static IP address for the local value. Before you try this, as it is a rare requirement, make sure that just leaving the IP Address field blank doesn't work for you.
  55.  
  56. ÑAbout the 115K and 230K Port SpeedsÑ
  57.  
  58. Is a 115K or 230K DTE rate really going to be faster than 57.6K?
  59.  
  60. It depends on the data being transferred and the type of connection you have.
  61.  
  62. For modems, the V.42bis data compression standard is theoretically capable of 4:1 compression. Therefore you'd want a 115Kbps DTE rate to fill a 28.8Kbps V.34 link w/V.42bis compression. In the real world most data doesn't usually compress better than 2:1 so a DTE rate of 57.6K is usually sufficient. On the other hand I've seen better than 8000 bytes/sec using Fetch to ftp a highly compressible text file (400K of repeating 'abcdef') over a 24K V.34 link. Using the Electronic Frontier Foundation's "Big Dummy's Guide to the Internet" as a test file I've gotten in the neighborhood of 6200 bytes/sec. Keep in mind that the port speed has no bearing on the connect rate of your modem. A 28.8K connection requires very clear phone lines at each end. Connect rates of 26.4K or 24K are much more common.
  63.  
  64. The only modem I know of that supports a DTE rate of 230Kbps is the Hayes Optima 288. They use a modified version of the V.42bis compression routine that's theoretically capable of 8:1 compression (as opposed to normal V.42bis' 4:1 max).  Unfortunately I don't have one so I can't say what sort of throughput my test files would have at the 230K DTE rate.
  65.  
  66. With a serial ISDN Terminal Adapter (sometimes called an ISDN modem in marketingspeak) you get a 64Kbps link with one channel or a 128Kbps link with two 'bonded' channels. Compression would make throughput even faster. What port speed you should use is dependent on the ISDN equipment you are using. I've never actually tried an ISDN connection with this software (anyone want to donate the equipment so I can?  :-)  ) but have had reports from several users that it works for them.
  67.  
  68. What do I need to use 115K or 230K Port Speeds?
  69.  
  70. You need a Mac with the GeoPort serial architecture and a 28.8 modem or ISDN Terminal Adapter attached to the built-in Modem or Printer port. The increased interrupt load for the higher rates is too much for non-serial DMA Macs so I'd strongly recommend against using it on one although I don't currently check the Mac type (and as near as I can tell it's impossible to check to see if the serial ports are of the GeoPort variety). If you insist on trying it on a IIfx or Quadra 900/950 you must make sure that you have set the serial ports to 'compatible' mode using the Serial Switch Control Panel. If you don't, you'll crash your Mac when you try to connect. Since I already said you shouldn't be using this software on one of these machines I don't consider this a bug so consider yourself warned.
  71.  
  72. Of course if your dialup PPP provider isn't using 28.8 modems or ISDN service with a 115K or 230K DTE rate on their end you won't see any difference. That part I can't help you with.  :-)
  73.  
  74. Note - If your modem or ISDN TA doesn't list support for a 115K or 230K DTE rate in their documentation, don't try to use it. One of the most common problem reports I get is folks trying to use the faster rates on equipment that doesn't support it.
  75.  
  76. Caveats - The changes to support the higher DTE rates make use of an undocumented and unsupported serial driver call as well as some direct manipulation of the Serial Controller Chip.  This has been working for months for lots of folks but there are no guarantees.
  77.  
  78. How do I use them?
  79.  
  80. If you aren't sure how to install MacPPP, see the accompanying 'Installing MacPPP' document.  Once you have installed MacPPP 2.1.2SD, open the Config PPP Control Panel and hit the Config... button. Select 115K or 230K from the Port Speed popup menu if your communications equipment supports it. That's it. You should now be able to use a port speed that allows the maximum possible throughput of your equipment. If you selected a port other than the Modem or Printer ports you'll get an error Alert when trying to connect at 115K or 230K stating that the higher rates aren't supported for other ports and the rate will be changed to 57.6K.
  81.  
  82. Does it make a GeoPort Telecom Adapter go faster?
  83.  
  84. No, it does work with a GeoPort Telecom Adapter (TCA) however. Why doesn't it make the TCA go faster? Because the TCA pod isn't really a modem.  It's just the hardware required to connect your Mac to the phone lines or POTS (Plain Old Telephone Service). The rest of the modem functions are implemented inside your Mac. Apple may implement a V.34 version of the Express Modem software but I wouldn't hold my breath waiting for it. I wouldn't recommend it on the PowerMac either as the current V.32bis implementation of the software seems to be good for approximately a 30% slowdown on a 6100/60AV. Eventually Apple is supposed to release a GeoPort ISDN Adapter but I have no idea when or if this version of MacPPP 2.1.2SD will work with it.
  85.  
  86. ÑCommon MacPPP Questions (FAQs)Ñ
  87.  
  88. Why does MacPPP dial when my Mac starts up?
  89.  
  90. MacPPP tries to open a connection whenever it sees TCP/IP packets unless the Hard Close command was used to terminate a PPP session. This isn't remembered on restart however. There are several extensions that send TCP/IP packets when they load at boot time so this is why you get connection attempts during startup. The extensions (or the programs that install them) that I know of that do this are: Apple's SNMP agent software installed as part of the full MacTCP install, Farallon's Timbuktu Pro, ON Technology's Meeting Maker XP, a shareware control panel called Network Time (I'm not sure of this name as I haven't actually seen this one), and one of the extensions that is used to support the Cayman GatorBox AppleTalk to TCP/IP router (sorry, lost the message with the exact info). See if there's a configuration option to turn off this functionality at startup or remove the offending extension (anyone ever use the SNMP software?).
  91.  
  92. Another extension that will cause connection attempts every time an application quits is ZapTCP. Since this extension is intended solely as a debugging aid for folks writing apps using TCP/IP packets I highly recommend removing it unless you know you need it.
  93.  
  94. Why do I get PPP Wait Timeout errors? (i.e. MacPPP can't find the modem)
  95.  
  96. Here are two common causes of the 'PPP Wait Timeout - Waiting on: OK' error:
  97.  
  98. 1) An incompatible Port Speed is selected. This may be a rate higher than supported by your modem or a speed that you'd think was supported but isn't. Port speeds of 14400 and 28800 are examples of the latter (Why? I don't know). For Mac/Modem configurations that don't support the 115K or 230K port speeds, stick with the 38400 or 57600 rates as these should be supported by every 14.4 and 28.8 modem on the market today.
  99.  
  100. 2) You have fax software installed that is conflicting with MacPPP. Try turning off the answer incoming faxes feature if it's turned on in your fax software. If that doesn't do the trick try turning off the fax software completely with an extension manager.
  101.  
  102. Why do I suddenly get disconnected after link establishment?
  103.  
  104. If you don't have a 'hardware handshake' cable and you have hardware flow control enabled (see the section on Flow Control in the accompanying 'Installing MacPPP' document for details) you will usually get a disconnect soon after a PPP session is established. Most modems these days come with a bundled hardware handshake cable. It's when a new modem is connected with the cable that was used for an old 2400 bps modem that causes a problem. In short, if the modem came with a cable be sure to use it. If the modem didn't come with a cable, make sure the one you're using supports hardware handshake. For the technically inclined this means a cable with pins 4 & 20 on the 25-pin connector for the modem are connected to pin 1 on the 8-pin connector for the Mac. 
  105.  
  106. ÑKnown Problems with this release of MacPPP 2.1.2SDÑ
  107.  
  108. There are known problems with Open Transport 1.0 and PPP sessions that are opened automatically. See the section above on using MacPPP 2.1.2SD with Open Transport. As noted there, the 1.0.1 release of Open Transport should fix this problem.
  109.  
  110. Apparently the software for the Axion serial port switching device makes the test for the internal serial ports fail and revert back to a DTE rate of 57.6K. I don't have one of these critters so it's kinda hard to figure out a workaround other than turning off their software.
  111.  
  112. The extension 'ASFU Fixer' apparently reverts the serial driver to a pre-DMA version thereby breaking support for 115K and 230K port speeds. As far as I know this extension is only required when using printer drivers from GDT Softworks.  Try asking them why they don't fix their drivers instead of mucking with Apple's serial driver.
  113.  
  114. It seems Wacom has a similar 'fix' for their serial port connected graphics tablets. I don't know what the name of the offending extension is however.
  115.  
  116. Using the Terminal Window mode on an 840AV running System 7.1 and MacTCP with Display Enabler 1.2 installed will crash. Removing the Display Enabler extension solves the problem. This problem might also exist on other Macs but I don't know for sure. If you really want the functionality of the Display Enabler and you have to use the Terminal Window mode I suggest you upgrade to System 7.5 which has the functionality built-in but not the problem.
  117.  
  118. If you try to establish a connection with the Terminal Window mode and hit the OK button without actually starting a PPP session MacPPP will get confused and you'll have to restart your Mac before you can try connecting again. Clicking the Cancel button works as you'd expect and is what you should use to cancel a connection attempt anyway.
  119.  
  120. ÑCopyrights & CreditsÑ
  121.  
  122. MacPPP 2.1.2SD is based on MacPPP 2.0.1 which is Copyright ⌐1992-1993 Merit Network, Inc. and The Regents of the University of Michigan.
  123.  
  124. The changes from MacPPP 2.0.1 to 2.1.2SD are Copyright ⌐1994-95 by Steve Dagley.  As is the case with Merit's statement regarding MacPPP 2.0.1, I make no guarantee about the performance or reliability of this software. Any risk in it's use is your own. Not for profit distribution is allowed/encouraged. This Read Me document must accompany any distribution.  If you want to include this version in some sort of software collection (i.e. CD) all I want in exchange is a copy of the collection.
  125.  
  126. Thanks to Bill Coleman of Hayes for reminding me to think async instead of sync when programming the SCC for the higher rates.  I've been doing code for 13-bit sync serial data for so long I forgot what async was.  :-)
  127.  
  128. Thanks to John Stephen <john_stephen@pop3.interramp.com> for the command rate timing and PSI ISDN compatibility mods.
  129.  
  130. Thanks to Steve Brecher <steve@brecher.reno.nv.us> for the connect rate info display mods.
  131.  
  132. Thanks to Alec Carlson <acarlson@iadfw.net> for the busy prefs file fix.
  133.  
  134. Thanks to Tom Evans <tom@wcc.oz.au> for the term window and the header compression fixes.
  135.  
  136. Thanks to Tim Steele <tjfs@tadpole.co.uk> for the hangup timing fix.
  137.  
  138. Thanks to Larry J. Blunk (ljb@merit.edu> and the rest of the MacPPP programmers for making the source code to 2.0.1 available. Remember, they wrote it, I/we just modified it.
  139.  
  140. Thanks to Hurricane Erin for only being a Category 1 hurricane when it hit town.
  141.  
  142. ÑVersion HistoryÑ
  143.  
  144. 2.1.2SD - 08/05/95
  145. Ñ  Public release of MacPPP 2.1.2SD.
  146. Ñ  Extensive additions to this Read Me for FAQs and OT configuration.
  147.  
  148. Hurricane Erin - 08/02/95
  149.  
  150. 2.1.2SDb4 - 07/24/95 - A non-public Beta
  151. Ñ  Added Tom Evans' larger term window resources.
  152. Ñ  Updated this Read Me again.
  153.  
  154. 2.1.2SDb3 - 07/23/95 - A non-public Beta
  155. Ñ  Added Tom Evans' VJ header compression fix for older term servers.
  156. Ñ  Added Tim Steele's hang up delay mod.
  157. Ñ  Took another shot at fixing the Supra and PSI modem wakeup problem - I think I got it this time (not having one of my own makes it a little difficult to test).
  158.  
  159. 2.1.2SDb2 - 07/??/95 - In-house Beta
  160. Ñ  Fiddled with term window code based on Tom Evans' suggestions.
  161.  
  162. 2.1.2SDb1 - 07/06/95 - A not too public Beta
  163. Ñ  Incorporated Alec Carson's code for the busy prefs file fix.
  164. Ñ  Added a discussion of Open Transport's enforcment of the netmask and it's effect on the specified router address.
  165.  
  166. 2.1.1SD - 06/24/95
  167. Ñ  Public release of MacPPP 2.1.1SD 
  168.  
  169. 2.1.1SDb3 - 06/23/95 - A not too public Beta
  170. Ñ  No change in the version number but this read me was revised to document a problem with Open Transport 1.0 and automatically opened PPP sessions.
  171.  
  172. 2.1.1SDb3 - 06/22/95 - A not too public Beta
  173. Ñ  One more minor tweak to the startup delay code to give internal PowerBook modems a chance to power up.
  174. Ñ  Revised section of this Read Me dealing with OT configuration and to explain why MacPPP opens connections at startup.
  175.  
  176. 2.1.1SDb2 - 06/17/95 - A not too public Beta
  177. Ñ Several minor changes in the code trying to work around the problem with the Display Enabler extension but no luck. See the warning above in 'Known Problems'.
  178.  
  179. 2.1.1SDb1 - 06/16/95 - A not too public Beta
  180. Ñ Now Open Transport compatible.
  181. Ñ Incorporates  John Stephen's mods for slowing the command timing down for the Motorola BitSurfr ISDN modem and setting the control character escape mask for compatibility for PSI's PPP service.
  182. Ñ Incorporates Steve Brecher's mods to display modem connect rate info.
  183. Ñ Fixes long standing problem with rates other than 115K and 230K occasionally not working.
  184.  
  185. 2.1SD - 12/11/94
  186. First public release.
  187. As always, revised this Read Me.
  188.  
  189. 2.1SDb3 - 12/10/94
  190. Third semi-public beta.
  191. Due to popular demand (from Lyman Green) I have now updated the Config PPP Control Panel to show the 115K and 230K rates in the Port Speed popup. 
  192. Revised this Read Me once again.
  193.  
  194. 2.1SDb2 - 12/08/94
  195. Second semi-public beta.
  196. Oops - left in a modified version of the modem init code that occasionally caused timeouts when trying to establish communications with the modem.
  197. Cleaned up and expanded this Read Me.
  198.  
  199. 2.1SDb1 - 12/06/94
  200. First semi-public beta
  201. Cleaned up the code somewhat and actually check for a suitable serial driver before making the calls.
  202.  
  203. 2.1SDa3    - July 1994
  204. Never publicly released.
  205. Made sure selected port was modem or printer.
  206.  
  207. 2.1SDa1 - July 1994
  208. Never publicly released.
  209. First build.
  210.  
  211. ÑComments or Questions?Ñ
  212. You can e-mail me at sdagley@iu.net (Note this is a new address)
  213.  
  214. Enjoy!
  215.  
  216. Steve Dagley
  217. August 5, 1995